import React from 'react';
export default class Alarm extends React.Component{
  constructor(props){
    super();
    this.state={
      color:props.color,
      id:props.id
    }
  }
  componentWillReceiveProps(props){
    this.setState({
      color:props.color,
      id:props.id
    });
  }
  render(){
    return(
      <svg className="Menu_SVG" id={this.state.id} fill= {this.state.color} xmlns="http://www.w3.org/2000/svg" width="16.25" height="17.193" viewBox="0 0 16.25 17.193">
  <g id="市场" transform="translate(-88.576 -64)">
    <path id="路径_3436" data-name="路径 3436"  d="M97.278,66.107h3.97L98.56,71.734l.016.029H99.2l2.5-5.24,2.477,5.24h.646l-2.673-5.656h0v-.6H97.729v-.387a1.116,1.116,0,1,0-2.233,0V65.5h-4.29v.6h.059l-2.689,5.628.016.029h.623l2.5-5.24,2.477,5.24h.646l-2.672-5.656h3.742V79.157l-4.7,1.411v.625h10.946v-.625l-4.875-1.411Z"/>
    <path id="路径_3437" data-name="路径 3437"  d="M94.905,506.664c0-.036,0-.07,0-.1H88.645c0,.034,0,.069,0,.1a3.133,3.133,0,1,0,6.265,0Zm3.722-.1c0,.034,0,.069,0,.1a3.132,3.132,0,1,0,6.264,0c0-.036,0-.07,0-.1Z" transform="translate(-0.063 -434.068)"/>
  </g>
</svg>
    );
  }
}